package com.wjk.cms.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * @description: 消息
 * @author WUGN
 * @date 2021/1/6 11:55
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
@Table(
        name = "t_message"
)
public class Message extends BaseEntity {


    @Column(columnDefinition = "int(11)  COMMENT '状态 （0待审 1已审核  2审核失败 3已完成）' default 0")
    private Integer status=0;

    @Column(columnDefinition = "bigint  COMMENT '经销商id'")
    private Long userId;


    @Column(columnDefinition = "varchar(500)  COMMENT '内容'")
    private String detail;

    @Column(columnDefinition = "varchar(500)  COMMENT '内容'")
    private String info;


    @Column(columnDefinition = "varchar(20)  COMMENT '0退卡 1补卡'")
    private String type;

    @Column(columnDefinition = "varchar(500)  COMMENT '备注'")
    private String remark;



}
